package com.nlp.visualization.core.discourse;


import com.nlp.visualization.pojo.NLP.discourse.WordsCloudOption;

import java.io.File;
import java.io.IOException;
import java.util.List;

public interface IWordsCloudService {

    /**
     * 生成一个圆形词云
     *
     * @param texts
     * @param option
     * @return
     * @throws IOException
     */
    File CicleCloud(List texts, WordsCloudOption option) throws IOException;


    /**
     * 生成一个矩形词云
     *
     * @param texts
     * @param option
     * @return
     * @throws IOException
     */
    File RectangleCloud(List texts, WordsCloudOption option) throws IOException;


    /**
     * 生成一个图片词云
     *
     * @param texts
     * @param option
     * @return
     * @throws IOException
     */
    File imageCloud(List texts, WordsCloudOption option) throws IOException;

}
